package com.aliyun.messagemgt.application.service;

import com.aliyun.messagemgt.common.dto.send.MsgRecordVO;
import com.aliyun.messagemgt.dto.MsgSource;

import java.util.List;

/**
 * Created with IDEA
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/4/3
 * @time:15:29
 */
public interface MsgFlowControl {

    /**
     * 消息的流量控制
     *
     * @param msgRecordVos
     * @param msgSource
     */
    void flowControl(List<MsgRecordVO> msgRecordVos, MsgSource msgSource);

}
